#ifndef WELCOM_H
#define WELCOM_H

#include <QDialog>
#include "top_menu.h"
#include "password_input.h"
#include "ui_welcom.h"
#include "water_level_display.h"
#include "machine_manage.h"

class top_menu;

namespace Ui {
    class welcom;
}

class welcom : public QDialog
{
    Q_OBJECT

public:
    explicit welcom(QDialog *parent = 0);
    ~welcom();

public slots:

private slots:
    void construct_global_object();
    void on_machine_manage_clicked();

    void on_water_btn_clicked();

    void on_auto_operation_btn_clicked();
    void timeDone();
    void on_heating_btn_clicked();

    void on_door_operation_btn_clicked();

    void on_help_btn_clicked();

private:
     Ui::welcom *ui;
     top_menu* menu;
     QTimer* timer;
     class machine_manage* manager;

};

#endif // WELCOM_H
